Skip to content

Conversation

@IsseW
Copy link
Member

@IsseW IsseW commented Nov 14, 2025

Related

What

Moves text log view properties to blueprint.

Screenshot 2025-11-18 at 11 37 07

@github-actions
Copy link

github-actions bot commented Nov 14, 2025

Web viewer built successfully.

Result Commit Link Manifest
b184070 https://rerun.io/viewer/pr/11896 +nightly +main

View image diff on kitdiff.

Note: This comment is updated whenever you push a commit.

@github-actions
Copy link

github-actions bot commented Nov 14, 2025

Latest documentation preview deployed successfully.

Result Commit Link
b184070 https://landing-6l86bldxo-rerun.vercel.app/docs

Note: This comment is updated whenever you push a commit.

@IsseW IsseW added 📺 re_viewer affects re_viewer itself 🟦 blueprint The data that defines our UI include in changelog labels Nov 14, 2025
@IsseW IsseW force-pushed the isse/bp-log branch 2 times, most recently from b7906d5 to 8ebcb50 Compare November 17, 2025 12:17
@IsseW IsseW marked this pull request as ready for review November 18, 2025 10:36
@Wumpf Wumpf self-requested a review November 18, 2025 12:01
@IsseW
Copy link
Member Author

IsseW commented Nov 18, 2025

Updating the snippet here and making the python api a bit nicer for this now too. But I think the rust side should be good to review.

Copy link
Member

@Wumpf Wumpf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

core logic lgtm but we probably should talk about those list wrapper types :/

}
}

// We need this to be a custom ui to bew able to use the view state to get seen text log levels. This could potentially be avoided if we could add component ui's from this crate.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
// We need this to be a custom ui to bew able to use the view state to get seen text log levels. This could potentially be avoided if we could add component ui's from this crate.
// We need this to be a custom ui to be able to use the view state to get seen text log levels.
// This could potentially be avoided if we could add component ui's from this crate.

well. so.. we actually can add component uis from this crate. Would be a first, but don't think there's anything to prevent us doing that in on_register

Copy link
Member Author

@IsseW IsseW Nov 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Didn't succeed in making it a registered UI because it would need a view context to get the view state. While component UI's get viewer context. So would need something more similar to the fallback registry in that case, where component UI's registered in a view's on_register get registered for that specific view. And used with that specific view context.

);
} else {
code.push_indented(1, "typed_data = data", 2);
}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would we prefer _ext classes over this?

This applied to the two cases I had, with no existing cases that had both overrode init and a python alias.

Allows us to do ["some", "timelines"], which from the type hint of the function you'd expect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🟦 blueprint The data that defines our UI include in changelog 📺 re_viewer affects re_viewer itself

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make TextLogView customizable from Blueprint

3 participants